import java.util.Deque;
import java.util.LinkedList;
import java.util.Scanner;

public class Test {

    public static void main24(String[] args) {
        Scanner scan = new Scanner(System.in);
        //在此输入您的代码...
        String str = scan.nextLine();
        int count = str.length()-1;//分成的段数

        int i = 0;
        while(i<str.length()) {
            char ch = str.charAt(i);
            if(ch!='a'||ch!='e'||ch!='i'||ch!='o'||ch!='u') {
                //不是元音
                //判断下一个是不是原因，不是++
                while(true) {
                    if((i+1)<str.length()) {
                        count--;
                        break;
                    }
                    if(str.charAt(i+1)=='a'||str.charAt(i+1)=='e'||str.charAt(i+1)=='i'||
                            str.charAt(i+1)=='o'||str.charAt(i+1)=='i') {
                        count--;
                        i++;
                        break;
                    }else {
                        i++;
                    }
                }
            }else {
                while(true) {
                    if((i+1)<str.length()) {
                        count--;
                        break;
                    }
                    if(str.charAt(i+1)=='a'||str.charAt(i+1)=='e'||str.charAt(i+1)=='i'||
                            str.charAt(i+1)=='o'||str.charAt(i+1)=='i') {
                        i++;
                    }else {
                        count--;
                        i++;
                        break;
                    }
                }
            }
        }


        if(count == 0) {
            System.out.println(true);
        }else {
            System.out.println(false);
        }
        scan.close();




    }
    public static void main21(String[] args) {
        Scanner scan = new Scanner(System.in);
        //在此输入您的代码...
        int n = scan.nextInt();

        int count = func(n);

        System.out.println(count);
        scan.close();
    }
    public static int func(int n) {
        int count = 0;
        if(n%2 != 0) {
            count++;
            n = n-1;
        }
        func(n);
        return count;
    }
    public static void main19(String[] args) {
        Scanner scan = new Scanner(System.in);
        //在此输入您的代码...
        int n = scan.nextInt();
        int m = scan.nextInt();
        int[] arr = new int[n];//节目的数量
        int[] arr2 = new int[m];

        for (int i = 0; i < m; i++) {
            System.out.print(arr2[i]+" ");
        }

        scan.close();
    }
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String str = scan.nextLine();
        int count = 0;
        for (int i = 0; i < str.length(); i++) {
            char ch = str.charAt(i);
            if(ch!=' '&&ch!='\n') {
                count++;
            }
        }
        System.out.println(count);


    }
    public static void main1(String[] args) {
        int count = 5;
        for (int i = 10; i <= 99; i++) {
            int a= 0;
            int b= 0;
            int tmp = i*i*i;
            a=tmp%10;
            b=tmp/10%10*10;
            if((a+b) == i) {
                count++;
            }
        }
        for (int i = 100; i <= 999; i++) {
            int a= 0;
            int b= 0;
            int c = 0;
            int tmp = i*i*i;
            a=tmp%10;
            b=tmp/10%10*10;
            c=tmp/10/10%10*100;
            if((a+b+c) == i) {
                count++;
            }

        }
        for (int i = 1000; i <= 9999; i++) {
            int a= 0;
            int b= 0;
            int c = 0;
            int d = 0;
            int tmp = i*i*i;
            a=tmp%10;
           b=tmp/10%10*10;
           c=tmp/10/10%10*100;
           d=tmp/10/10/10%10*1000;
            if((a+b+c+d) == i) {
                count++;
            }
        }

        System.out.println(count);
    }
    public static void main3(String[] args) {
        //3.
        Scanner scan = new Scanner(System.in);
        //在此输入您的代码...
        int[] arr = new int[3];
        for(int i =0;i<3;i++) {
            arr[i] = scan.nextInt();
        }
        int sum = (arr[0]/10)*2+(arr[1]/10)*3+(arr[2]/10)*5;
        System.out.println(sum);
        scan.close();


    }
}
